home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global oStoryteller, oPuppeteer, gFreezeInventory, gOriginPoint
- if (getState(oStoryteller, #itemInUse) = #none) and (gFreezeInventory = 0) and (getState(oStoryteller, #AMBERVISION) <> #startingUp) then
- if getState(oStoryteller, #endGame) = 1 then
- set the loc of sprite 39 to point(-1000, -1000) + gOriginPoint
- puppetSprite(39, 0)
- useInventory(#Headgear)
- else
- addInventory(#Headgear)
- end if
- end if
- end
-